package com.czxy.utils;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Util {


    public static  String getTimeStr(Date date){
        DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
        String s1 = df.format(new Date());
        System.out.println("s1->"+s1);
        return s1;
    }
}
